﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class WXShopInfoConfig : EntityTypeConfiguration<WXShopInfo>
    {
        public WXShopInfoConfig()
        {
            ToTable("Himall_WXshop");
            Property(item => item.AppId).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.AppSecret).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.Token).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.FollowUrl).HasColumnType("varchar").HasMaxLength(500);
        }
    }
}
